﻿using System;
using System.Web.UI;

namespace WebExamples
{
	public partial class _Default : Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			wizDemo.WizardSteps.Remove(WizardStep3);
		}

		protected void WizardStep2_Activated(object sender, EventArgs e)
		{
			if(ddlYesNo.SelectedValue == "Yes")
				wizDemo.ActiveStepIndex++;
		}
	}
}
